﻿<%@ Page Language="C#" MasterPageFile="~/Front.Master" AutoEventWireup="true" CodeBehind="ManageUser2.aspx.cs" Inherits="HRProject.User.ManageUser2" Title="Untitled Page" %>
<asp:Content ID="IncludePlaceHolder" ContentPlaceHolderID="IncludePlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="TitleIconPlaceHolder" ContentPlaceHolderID="TitleIconPlaceHolder" runat="server">
    <img alt="" src="/image/layout/icon/UserIcon.png" />
</asp:Content>
<asp:Content ID="TitleNamePlaceHolder" ContentPlaceHolderID="TitleNamePlaceHolder" runat="server">
    Manage Agents    
</asp:Content>
<asp:Content ID="MainPanelPlaceHolder" ContentPlaceHolderID="MainPanelPlaceHolder" runat="server">

        <div class="table-row-label">Department</div>
        <div class="table-row-content">
            <asp:DropDownList ID="ddlDepartment" runat="server" DataTextField="Name" 
                DataValueField="Id" onselectedindexchanged="ddlDepartment_SelectedIndexChanged" AutoPostBack="True"
                Width="200">
            </asp:DropDownList>
        </div>
        <div class="table-row-label">Role</div>
        <div class="table-row-content">
            <asp:DropDownList ID="ddlRole" runat="server" DataTextField="Name" 
                DataValueField="Id" onselectedindexchanged="ddlRole_SelectedIndexChanged" AutoPostBack="True"
                Width="200">
            </asp:DropDownList>
        </div>
        <div class="table-row-label">Agents</div>
        <div style="float:left;clear:left;">
            <asp:GridView ID="dgvUsers" runat="server" AutoGenerateColumns="False" 
                AllowPaging="true" onpageindexchanging="dgvUsers_PageIndexChanging">
                <RowStyle Font-Size="Small" />
                <EmptyDataRowStyle BorderWidth="0px" ForeColor="#727272" />
                <Columns>
                    <asp:BoundField DataField="Id" ShowHeader="False" Visible="False" />
                    <asp:BoundField DataField="AccountInformation" HeaderText="Account Information" 
                        HtmlEncode="False" >
                        <ItemStyle VerticalAlign="Top" />
                    </asp:BoundField>
                    <asp:BoundField DataField="HumanInformation" HeaderText="Human Information" 
                        HtmlEncode="False" >
                        <ItemStyle VerticalAlign="Top" />
                    </asp:BoundField>
                    <asp:BoundField DataField="PeopleInformation" HeaderText="People Information" 
                        HtmlEncode="False" >
                        <ItemStyle VerticalAlign="Top" />
                    </asp:BoundField>
                    <asp:BoundField DataField="TimeProperties" HeaderText="Time Properties" 
                        HtmlEncode="False" >
                        <ItemStyle VerticalAlign="Top" />
                    </asp:BoundField>
                    <asp:BoundField DataField="AccountStatus" HeaderText="Account Status" 
                        HtmlEncode="False" >
                        <ItemStyle VerticalAlign="Top" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
        </div>
        <br />

</asp:Content>
